#ifndef __LINKEDLISTWITHHEAD_H__
#define __LINKEDLISTWITHHEAD_H__
#include <stdbool.h>
typedef int ElemType;
typedef struct Node// 数据节点类型
{
    ElemType data;
    struct Node*next;
}Node;
struct Head //头节点类型
{
    int num;
    Node*first;
    Node*last;
};

extern struct Head*Create_Empty_LinkedListWithHead();
extern struct Head*Create_input_LinkedListWithHead();
extern void Print_LinkedListWithHead(struct Head*h);
extern void Insert_node_y(struct Head*h, ElemType x, ElemType y);
extern void Delete_node_all_x(struct Head*h, ElemType x);
extern bool Is(struct Head*A, struct Head*B);
#endif